'use strict';

/**
 * @param {Egg.Application} app - egg application
 */
module.exports = app => {
  const { router, controller } = app;
  router.get('/', controller.home.index);
  router.post('/getList', controller.home.getList);
  router.post('/login', controller.home.login);
  router.post('/getDz',controller.home.getDz)
  router.post('/getaddrom',controller.home.getaddrom)
  router.post('/addRedo',controller.home.addRedo)
  router.post('/detali',controller.home.detali)
  
};
